package hxvid.events;
class SharedObjectEvent implements IEvent
{
	public static var CONNECT = "connect";
	public static var SUBSCRIBE = "subscribe";
	public static var DISCONNECT = "disconnect";
	public static var CHANGE = "change";
	public static var SAVE = "save";
	public static var SEND = "send";
	
	public var type:String;
	public var target:Client;
	public var currentTarget:Client;
	public var data:Dynamic;
	
	public function new(type:String, target:Client, data:Dynamic)
	{
		this.type = type;
		this.target = this.currentTarget = target;
		this.data = data;
	}
}